package one.stand.mapper;

import one.stand.model.CompanyAccount;
import one.stand.model.CompanyAccountModel;
import one.stand.response.CompanyAccountResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Administrator
 */
public interface CompanyAccountMapperExt extends CompanyAccountMapper {
    CompanyAccount selectByCompanyId(@Param("companyId") Integer companyId, @Param("accountType") Integer accountType);

    CompanyAccount selectByCompanyKey(@Param("companyKey") String companyKey, @Param("accountType") Integer accountType);

    CompanyAccount selectByAppId(@Param("appId") String appId);

    CompanyAccount selectByAppId2(@Param("appId") String appId);

    List<CompanyAccountResponse> selectCompanyAccountList(CompanyAccountModel model);

    List<CompanyAccountModel> selectList(CompanyAccountModel model);
}